Skip to content

Refactor IMapper.From to return interface#454

Merged
andrerav merged 4 commits into
MapsterMapper:developmentfrom
gritcsenko:master
Sep 7, 2022
Merged

Refactor IMapper.From to return interface#454
andrerav merged 4 commits into
MapsterMapper:developmentfrom
gritcsenko:master

Conversation

@gritcsenko

@gritcsenko gritcsenko commented Jul 18, 2022

Copy link
Copy Markdown
Contributor

Refactored IMapper.From<TSource>() to return new interface ITypeAdapterBuilder<TSource> instead of concrete class.

FYI: Mapster.EF6 & Mapster.EFCore uses outdated package version and causes compilation errors in Mapster.EFCore.Tests and Sample.AspNetCore

Closes #376

@gritcsenko gritcsenko changed the title Closes #376 Refactor IMapper.From to return interface Refactor IMapper.From to return interface Jul 18, 2022
@andrerav

andrerav commented Sep 5, 2022

Copy link
Copy Markdown
Member

@gritcsenko The master branch should be in better shape now with EF Core 6.0. Could you please sync your branch and see if the build errors have gone away? And if so, run the tests as well? Thanks! :)

@andrerav

andrerav commented Sep 6, 2022

Copy link
Copy Markdown
Member

@gritcsenko I synced the fork and fixed a few build errors. Everything now builds and all tests are passing. Can you take a look at my changes and verify that they are good?

@gritcsenko

gritcsenko commented Sep 6, 2022

Copy link
Copy Markdown
Contributor Author

@gritcsenko I synced the fork and fixed a few build errors. Everything now builds and all tests are passing. Can you take a look at my changes and verify that they are good?

@andrerav Thanks for the update. Everything looks good.
My only concern is that public API was changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggestion: IMapper.From should return IAdapterBuilder<TSource> not TypeAdapterBuilder<TSource>

2 participants